/*
* @overview: 主题-颜色
* @Author: wgf 
* @Date: 2024-04-22 13:04:45 
*/

part of 'index.dart';

class CustomColors {
  const CustomColors({
    required this.spinkit,
    required this.buttonText,
    required this.buttonSpinkit,
    required this.buttonBackground1,
    required this.bottomBarText,
    required this.bottomBarTextOn,
    required this.bottomBarBackground,
    required this.scaffoldBackground1,
    required this.scaffoldBackground2,
    required this.text1,
    required this.text2,
    required this.text3,
    required this.text4,
    required this.text5,
    required this.text6,
    required this.text7,
    required this.border1,
    required this.border2,
    required this.border3,
    required this.background1,
    required this.background2,
    required this.background3,
    required this.background4,
    required this.background5,
    required this.background6,
  });

  factory CustomColors.light() {
    return const CustomColors(
      spinkit: Color(0xFFF80002),
      buttonText: Colors.white,
      buttonSpinkit: Colors.white,
      buttonBackground1: Color(0xFFF80002),
      bottomBarText: Colors.white,
      bottomBarTextOn: Colors.white,
      bottomBarBackground: Colors.white,
      scaffoldBackground1: Color(0xFFFFFFFF),
      scaffoldBackground2: Color(0xFFF3F4F6),
      text1: Color(0xFF18191B),
      text2: Color(0xFF9199A5),
      text3: Colors.white,
      text4: Color(0xFFF80002),
      text5: Color(0xFFF79139),
      text6: Color(0xFF36B393),
      text7: Color(0xFFE45060),
      border1: Color(0xFFE2E8F0),
      border2: Color(0xFFF79139),
      border3: Color(0xFFF80002),
      background1: Colors.white,
      background2: Color(0xFFF3F4F6),
      background3: Color(0xFFF80002),
      background4: Color(0xFF36B393),
      background5: Color(0xFFE45060),
      background6: Color(0xFFFB1719),
    );
  }

  factory CustomColors.dark() {
    return const CustomColors(
      spinkit: Colors.white,
      buttonText: Colors.white,
      buttonSpinkit: Colors.white,
      buttonBackground1: Colors.white,
      bottomBarText: Colors.white,
      bottomBarTextOn: Colors.white,
      bottomBarBackground: Colors.white,
      scaffoldBackground1: Colors.white,
      scaffoldBackground2: Colors.white,
      text1: Colors.white,
      text2: Colors.white,
      text3: Colors.white,
      text4: Colors.white,
      text5: Colors.white,
      text6: Colors.white,
      text7: Colors.white,
      border1: Colors.white,
      border2: Colors.white,
      border3: Colors.white,
      background1: Colors.white,
      background2: Colors.white,
      background3: Colors.white,
      background4: Colors.white,
      background5: Colors.white,
      background6: Colors.white,
    );
  }

  /* ------------ 基础颜色  ------------ */

  /// 加载指示器
  final Color spinkit;

  /// 按钮文字
  final Color buttonText;

  /// 按钮加载指示器
  final Color buttonSpinkit;

  /// 按钮背景1
  final Color buttonBackground1;

  /// 导航文字
  final Color bottomBarText;

  /// 导航选中文字
  final Color bottomBarTextOn;

  /// 底部导航背景色
  final Color bottomBarBackground;

  /// Scaffold背景色1
  final Color scaffoldBackground1;

  /// Scaffold背景色2
  final Color scaffoldBackground2;

  /* ------------ 字体颜色  ------------ */

  /// 文字颜色1
  final Color text1;

  /// 文字颜色2
  final Color text2;

  /// 文字颜色3
  final Color text3;

  /// 文字颜色4
  final Color text4;

  /// 文字颜色5
  final Color text5;

  /// 文字颜色6
  final Color text6;

  /// 文字颜色7
  final Color text7;

  /* ------------ 边框颜色  ------------ */

  /// 边框颜色1
  final Color border1;

  /// 边框颜色2
  final Color border2;

  /// 边框颜色3
  final Color border3;

  /// 背景色1
  final Color background1;

  // 背景色2
  final Color background2;

  // 背景色3
  final Color background3;

  // 背景色4
  final Color background4;

  // 背景色5
  final Color background5;

  // 背景色6
  final Color background6;
}
